<?
Abstract Class Controller_Base 
{
	protected $registry;

	function __construct($registry) {
		
		$this->registry = $registry;
		if(session_is_registered("myusername")){
			if($_SESSION['myusername'] == 'suser')
			{
				
			} else {
				header("location:/suser/login");
				exit;
			}
		}else{
			header("location:/suser/login");
			exit;
		}
	}
	
		abstract function index();
}
?>